{include file="header.tpl" title=""}
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/>
</td>
</tr>
<tr>
<td colspan="4">
<hr>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="13%">{$lbl_PRDCODE}</td>
     <td colspan="2" style="color:#FF0000"><input name="PRDCODE" id="PRDCODE" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" type="text" style="background:{$colorPRDCODE}" value="{$PRDCODE}" size="15" maxlength="10" {if $activefield1 eq 'disabled'} readonly="readonly"{/if} />
      *      
      <input id="replacement_find" type="submit" name="find" value="    "  height="15"/></td>
     <td width="46%" style="color:#FF0000">&nbsp;</td>
  </tr>
  
  <tr>
    <td nowrap="nowrap">{$lbl_VNDESC}</td>
    <td style="color:#FF0000" colspan="2" nowrap="nowrap">
	<input name="VNDESC" id="VNDESC" type="text" readonly="readOnly" value="{$VNDESC}" size="50" maxlength="50" /></td>
    <td style="color:#FF0000" nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td>{$lbl_ENDESC}</td>
    <td colspan="2"><input name="ENDESC" id="ENDESC" type="text" readonly="readOnly" value="{$ENDESC}" size="50" maxlength="50" /></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_AP}</td>
    <td width="25%"><select name="AP" size="1" disabled="disabled" id="AP">
      <option value=""/>
      {foreach from=$cbo_loai key=k item=v}
	  	
      
      <option value="{$k}" {if $k eq $activeAP} selected="selected" {/if} >{$k} - {$v}</option>
      
	  {/foreach}
    
    
    </select>    </td>
    <td width="16%">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_GLACCT}</td>
    <td>
    <textarea name="GLACCT" cols="47" rows="2" id="GLACCT" disabled="disabled">{$GLACCT}</textarea>   </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VERLVL}</td>
    <td><select name="VERLVL" size="1" disabled="disabled" id="VERLVL">
      
      <option value=""/>
      {foreach from=$cbo_capduyet key=k item=v}
	  	
      
      
      <option value="{$k}" {if $k eq $activeVERLVL} selected="selected" {/if} >{$k}</option>
      
      
	  {/foreach}
    
    
    
    </select>    </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_INITLEVEL}</td>
    <td><select name="INITLEVEL" size="1" disabled="disabled" id="INITLEVEL">
      
      <option value=""/>
      
      {foreach from=$cbo_capduyetbandau key=k item=v}
	  	
      
      
      
      <option value="{$k}" {if $k eq $activeINITLEVEL} selected="selected" {/if} >{$k} - {$v}</option>
      
      
      
	  {/foreach}
    
    
    
    
    </select>    </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VMINAMTB}</td>
    <td><input name="VMINAMTB" onblur="formatNumber2(this,this.value,20,0);" type="text" class="textright" id="VMINAMTB" value="{$VMINAMTB}" size="20" maxlength="20" readonly="readonly" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VMINAMTA}</td>
    <td><input name="VMINAMTA" onblur="formatNumber2(this,this.value,20,0);" type="text" class="textright" id="VMINAMTA" value="{$VMINAMTA}" size="20" maxlength="20" readonly="readonly" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VATACC}</td>
    <td><input name="VATACC" class="textright" type="text" id="VATACC" value="{$VATACC}" size="20" maxlength="15" readonly="readonly" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_AMC}</td>
    <td><select name="AMC" size="1" id="AMC" disabled="disabled">
      <option value=""></option>
      
      
      
      {foreach from=$cbo_AMC key=k item=v}
	 
      
      
      <option value="{$k}" {if $k eq $AMC} selected="selected" {/if} >{$k}</option>
      
      
      
      {/foreach}
    
    
    
    
    </select></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><div align="right">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'PRDCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}/>
    <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}>
  </div></td>
</tr>
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_approduct.php?PRDCODE={$PRDCODE}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{include file="footer.tpl"}
